
<template>
  {{ $store.getters }}
  <button @click="increment">Increment</button>
</template>


<script setup>
import { ref } from "vue";
import { useStore } from "vuex";
const store = useStore();
defineProps({
  msg: String,
});

const count = ref(0);

const increment = () => {
  store.commit('delete')
  // store.dispatch("setUserInfo", { name: "chenz", sex: "1" });
  // store.dispatch('increment');
};
</script>



<style scoped>

</style>
